iOS 10 Programming for Beginners by Clayton Craig

iOS 10 Programming for Beginners by Clayton Craig

Author:Clayton, Craig
Language: eng
Format: epub
Publisher: Packt Publishing
Published: 2016-12-27T05:00:00+00:00


Here, we are checking to make sure that the segue destination is going to the RestaurantDetailViewController; if so, we make sure that we have a selected restaurant. When it is confirmed that the segue destination is going to the RestaurantDetailViewController and we have a selected restaurant, we use the selectedRestaurant variable that we created in RestaurantDetailViewController and set it to the selected restaurant in MapViewController.

Your file should now look like the following with the two new methods we just added:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.